package com.huajin.gateway.nmap.service;

import com.huajin.gateway.nmap.domain.AssetDO;

import java.util.List;
import java.util.Map;

/**
 * 资产表
 *
 * @author huajin
 * @email 1992lcg@163.com
 * @date 2018-10-30 18:49:51
 */

public interface AssetService {

    AssetDO get(Integer id);

    List<AssetDO> list(Map<String, Object> map);

    int count(Map<String, Object> map);

    int save(AssetDO asset);

    int update(AssetDO asset);

    int remove(Integer id);

    int batchRemove(Integer[] ids);

    int getTheLastId();
}
